﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="waitpaymoney.aspx.cs" Inherits="CampanyCMS.WebUI.Admin.Order.waitpaymoney" %>

 
 
<%@ Register Assembly="My97" Namespace="My97" TagPrefix="cc2" %>
<%@ Register TagPrefix="cc1" Namespace="COM.ZTE.TPG.App.UI.WebForm" Assembly="COM.ZTE.TPG.App.UI.WebForm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
     <link href="../../css/cssCn1.css" type="text/css" rel="stylesheet">
    <link href="../../css/cssCn.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form id="form1" runat="server">
    <table id="tb_content" cellspacing="0" cellpadding="0" align="center">
        <tbody>
            <tr>
                <td>
                    <table class="tb_searchbar" cellspacing="1" width="100%">
                        <tbody>
                            <tr>
                                <td class="td_head" colspan="4">
                                    请填写查询条件
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title" nowrap width="9%">
                                    订单编号
                                </td>
                                <td class="detail" width="24%">
                                    <asp:TextBox ID="txtOderNo" runat="server" Width="180"></asp:TextBox>
                                </td>
                                <td class="td_title" nowrap width="15%">
                                    发布时间
                                </td>
                                <td class="td_detail" colspan="1">
                                    <cc2:DateTextBox ID="txtBeginDate" runat="server" ImgPath="../../img/calendar.gif"
                                        Width="120px" OnPickClientID="txtEndDate"></cc2:DateTextBox>
                                    至
                                    <cc2:DateTextBox ID="txtEndDate" runat="server" ImgPath="../../img/calendar.gif"
                                        Width="120px"></cc2:DateTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    订单状态
                                </td>
                                <td colspan="3">
                                    <asp:RadioButtonList ID="rbtOrderStatus" runat="server" AppendDataBoundItems=true RepeatDirection="Horizontal">
                                        <asp:ListItem Value="" Selected>全部</asp:ListItem>                                       
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="4">
                                    <asp:Button ID="btnSearch" runat="server" Text="查询" CssClass="button" OnClick="btnSearch_Click">
                                    </asp:Button>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <cc1:ZteGrid ID="dgOderList" runat="server" Style="margin-top: 5px"  CssClass="tb_datalist" 
                        PageChange="TextBox" Width="100%" AllowPaging="True" PageLanguage="Chinese" IsAllowPaging="True"
                        AutoGenerateColumns="False" CacheData="ServerCach" SortMode="Total" PageCSS="scrollButton"
                        BorderStyle="Solid" OnItemCommand="dgOderList_ItemCommand" OnItemDataBound="dgOderList_ItemDataBound">
                        <AlternatingItemStyle CssClass="tr_alertrow"></AlternatingItemStyle>
                        <ItemStyle CssClass="tr_datarow" />
                        <FooterStyle></FooterStyle>
                         
                        <Columns>
                            <asp:BoundColumn Visible="False" DataField="Order_Apply_ID" HeaderText="Order_Apply_ID">
                            </asp:BoundColumn>                            
                             <asp:TemplateColumn>
                                <HeaderTemplate>
                                    订单编号
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:HyperLink runat="server" ID="lnkNo"><%#DataBinder.Eval(Container.DataItem, "Order_NO")%></asp:HyperLink>
                                </ItemTemplate>
                            </asp:TemplateColumn>
               
                            <asp:BoundColumn DataField="receive_Name" HeaderText="收件人"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Create_Date" HeaderText="预定时间" SortExpression="Create_Date">
                            </asp:BoundColumn>
                            <asp:TemplateColumn>
                                <HeaderTemplate>
                                    订单状态
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:Literal ID="lblOrderStatus" runat="server"></asp:Literal>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:BoundColumn DataField="receive_Phone" HeaderText="手机"></asp:BoundColumn>
                            <asp:TemplateColumn>
                                <HeaderTemplate>
                                    操作
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:LinkButton ID="btnView" runat="server" CommandName="View" >查看</asp:LinkButton>
                                    <asp:LinkButton ID="btnComfirmPay" runat="server" CommandName="ComfirmPay" OnClientClick="return confirm('是否要确认？');" >确认已付款</asp:LinkButton>
                                    <asp:LinkButton ID="btnDelete" runat="server" CommandName="Delete" OnClientClick="return confirm('确认删除？');">删除</asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateColumn>
                        </Columns>
                        <HeaderStyle CssClass="tr_title"></HeaderStyle>
                        <SelectedItemStyle CssClass="tr_selected"></SelectedItemStyle>
                        <PagerStyle CssClass="tr_pagenumber"></PagerStyle>
                    </cc1:ZteGrid>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
